package io.renren.modules.basic.service.impl;

import io.renren.modules.basic.dao.LtkDao;
import io.renren.modules.basic.entity.LtkEntity;
import io.renren.modules.basic.service.LtkService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;




@Service("ltkService")
public class LtkServiceImpl extends ServiceImpl<LtkDao, LtkEntity> implements LtkService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LtkEntity> page = this.page(
                new Query<LtkEntity>().getPage(params),
                new QueryWrapper<LtkEntity>()
        );

        return new PageUtils(page);
    }

}